package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;


import com.jic.order.entity.OrderAutomaticCancel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单自动取消
 * @author : 
 * @email : 
 * @since : 2020-03-02 11:03:54
 * @version : v1.0.0
 */
@Mapper
public interface  OrderAutomaticCancelMapper {

    long insert(OrderAutomaticCancel orderAutomaticCancel);

    long delete(Long id);

    long update(OrderAutomaticCancel orderAutomaticCancel);

    OrderAutomaticCancel queryByPrimaryKey(Long id);

    List<OrderAutomaticCancel> query(OrderAutomaticCancel orderAutomaticCancel);

    List<OrderAutomaticCancel> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderAutomaticCancel") OrderAutomaticCancel orderAutomaticCancel);

    long queryPageCount(OrderAutomaticCancel orderAutomaticCancel);

    OrderAutomaticCancel queryOrderCancel();
}